package com.mjk.manager.workflow.parser.sql.model;

import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.ArcSharding;
import com.mjk.common.core.jdbc.annotation.ExampleField;
import com.mjk.common.core.jdbc.annotation.Filed;
import com.mjk.common.core.jdbc.annotation.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ArcSharding(dataSource = "his", table = "script")
public class ScriptModel extends BaseEntity {

    @Id
    @ExampleField
    private Integer id;
    
    @ExampleField
    @Filed(comment = "应用名称",lenght = 255,cloum = "application_name")
    private String applicationName;
    
    @ExampleField
    @Filed(comment = "脚本ID",lenght = 255,cloum = "script_id")
    private String scriptId;
    
    @Filed(comment = "脚本名称",lenght = 255,cloum = "script_name")
    private String scriptName;
    
    @Filed(comment = "脚本数据",lenght = 255,cloum = "script_data")
    private String scriptData;
    
    @Filed(comment = "脚本类型",lenght = 255,cloum = "script_type")
    private String scriptType;
    
    @Filed(comment = "语言",lenght = 255,cloum = "language")
    private String language;
    
    @ExampleField
    @Filed(comment = "是否可用",lenght = 255,cloum = "enable")
    private String enable;

}